/*
 * Copyright (C) 2010 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package ca.inrs.ete.app.shopx.util;


public class Constants {
	/**
	 * This file must be kept in sync with the resource file 
	 * res/values/app_constants.xml
	 */
	
	public static final String PACKAGE_NAME = "ca.inrs.ete.app.shopx";
	public static final String PACKAGE_INTENT = PACKAGE_NAME+".intent";

	/**
     *	Content provider  authority 
     */
    public static final String CONTENT_AUTHORITY = PACKAGE_NAME+".provider";
	public static final String CONTENT_VENDOR    = "vnd.inrs.ete.app.shopx";

    /**
     *	Intent extras 
     */
	public static final String INTENT_EXTRA_INT   = PACKAGE_INTENT+".extra.INT";
	public static final String INTENT_EXTRA_CLASS = PACKAGE_INTENT+".extra.CLASS";

	/**
     * Account type string.
     */
    public static final String ACCOUNT_TYPE          = PACKAGE_NAME+".sync";
	public static final String ACCOUNT_KEY_MARKER    = PACKAGE_NAME+".sync.marker";
	public static final String ACCOUNT_KEY_URI       = PACKAGE_NAME+".sync.uri";
	public static final String ACCOUNT_KEY_FREQUENCY = PACKAGE_NAME+".sync.poll_frequency";
	public static final String ACCOUNT_KEY_LANGUAGE  = PACKAGE_NAME+".sync.language";
	public static final String ACCOUNT_KEY_WIFIONLY  = PACKAGE_NAME+".sync.wifi_only";

    /**
     * Authentication token type string.
     */
    public static final String AUTHEN_TOKEN_TYPE = PACKAGE_NAME+".sync";
    
    /**
     * Synchronization broadcast message
     */
	public static final String MSG_SYNC_WIFIOFF    = "Wifi is off";
	public static final String MSG_SYNC_TERMINATED = "Synch terminated";
	public static final String MSG_SYNC_KEY_SUCCESS= "success";
	
	
}
